<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Dropdown 下拉菜单</title>
    <!-- 引入ElementUI样式 -->
   <link rel="stylesheet" href="element-ui/index.css">
    <style>
        .el-dropdown-link {
            cursor: pointer;
            color: #4076ff;
        }
        .el-icon-arrow-down {
            font-size: 12px;
        }
    </style>
</head>
<body>
<div id="app">
    <el-dropdown>
                <span class="el-dropdown-link">
                    下拉菜单<i class="el-icon-arrow-down el-icon--right"></i>
                </span>
        <el-dropdown-menu slot="dropdown">
            <el-dropdown-item>退出系统</el-dropdown-item>
            <el-dropdown-item disabled>修改密码</el-dropdown-item>
            <el-dropdown-item divided>联系管理员</el-dropdown-item>
        </el-dropdown-menu>
    </el-dropdown>
</div>

<script src="js/vue.js"></script>
<script src="element-ui/index.js"></script>
<script>
    new Vue({
        el: '#app'
    })
</script>
</body>
</html>